import 'dart:convert';

import 'package:mziot/generated/json/base/json_field.dart';
import 'package:mziot/generated/json/profile_entity.g.dart';

@JsonSerializable()
class ProfileEntity {
  String? timezone;
  String? userName;
  String? nickName;
  String? userHeadImg;

  ProfileEntity();

  factory ProfileEntity.fromJson(Map<String, dynamic> json) => $ProfileEntityFromJson(json);

  Map<String, dynamic> toJson() => $ProfileEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
